//
//  ShouYecollectionCell.m
//  KCFurProject
//
//  Created by ios程序员 on 15/11/2.
//  Copyright (c) 2015年 ios程序员. All rights reserved.
//

#import "ShouYecollectionCell.h"

@implementation ShouYecollectionCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        self.shouyeImage = [[UIImageView alloc] initWithFrame:CGRectMake(5, 5, self.frame.size.width-10, self.frame.size.height - 80)];
        [self.shouyeImage setImage:[UIImage imageNamed:@"kc"]];
        [self.contentView addSubview:self.shouyeImage];
        
        self.jianJieLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, self.frame.size.height - 70, self.frame.size.width, 30)];
        self.jianJieLabel.text = @"某某某皮草简介某某某皮草简介某某某皮草简介某某某皮草简介";
        self.jianJieLabel.font = [UIFont systemFontOfSize:12];
        [self.contentView addSubview:self.jianJieLabel];
        
        self.priceLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, self.frame.size.height - 35, 80, 20)];
        self.priceLabel.text = @"100.00";
        self.priceLabel.textColor = [UIColor redColor];
        self.priceLabel.font = [UIFont systemFontOfSize:13];
        [self.contentView addSubview:self.priceLabel];
        
        self.newpinxLabel = [[UILabel alloc] initWithFrame:CGRectMake(self.frame.size.width - 60, self.frame.size.height - 35, 30, 15)];
        self.newpinxLabel.text = @"NEW";
        self.newpinxLabel.font = [UIFont systemFontOfSize:11];
        self.newpinxLabel.textColor = [UIColor whiteColor];
        [self.contentView addSubview:self.newpinxLabel];
        
        
    }
    return self;
}


/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

@end
